package org.oexam.ostudy.struct;

import javax.persistence.Entity;
import javax.persistence.Id;

@Entity

public class Teachers {
	
	@Id 
	private int teacher_id; // Primary key.
	private String first_name;
	private String last_name;
	private String address;
	private int user_id;  // Foreign key referring to Users table;
	private String phone;
	private String email;
	public int getTeacher_id() {
		return teacher_id;
	}
	public void setTeacher_id(int admin_id) {
		this.teacher_id = admin_id;
	}
	public String getFirst_name() {
		return first_name;
	}
	public void setFirst_name(String first_name) {
		this.first_name = first_name;
	}
	public String getLast_name() {
		return last_name;
	}
	public void setLast_name(String last_name) {
		this.last_name = last_name;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public int getUser_id() {
		return user_id;
	}
	public void setUser_id(int user_id) {
		this.user_id = user_id;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	
	

}
